package cn.explink.dop.entity.vo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import cn.explink.distributor.framework.CommonTarget;

/**
 * 
* @ClassName: ExpressCompanyVO 
* @Description: 配送公司表 
* @author 小强
* @date 2015年6月25日 下午3:36:28 
*
 */
@Entity
@Table(name = "express_company")
public class ExpressCompanyVO  extends CommonTarget implements java.io.Serializable{
	
	private static final long serialVersionUID = 1L;
	/**
	 * 主键
	 */
	private Integer id;	
	
	private String name;
	
	private String phone;
	
	private Integer status;
	
	private Date createtime;
	
	private String companycode;
	
	private String companyid;
	
	private String logo;
	
	private Integer type;
	
	private String partnerid;
	
	private String partnerkey;
	
	private String alipayemail;
	
	
	@Id
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
	@Column(name = "id", nullable = false, length = 32)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	
	
	@Column(name = "name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "phone")
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Column(name = "status",columnDefinition="smallint")
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Column(name = "create_time", nullable = false)
	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	
	@Column(name = "company_code")
	public String getCompanycode() {
		return companycode;
	}

	public void setCompanycode(String companycode) {
		this.companycode = companycode;
	}
	@Column(name = "company_id")
	public String getCompanyid() {
		return companyid;
	}

	public void setCompanyid(String companyid) {
		this.companyid = companyid;
	}
	
	@Column(name = "logo")
	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	@Column(name = "type",nullable = false )
	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	@Column(name = "partner_id")
	public String getPartnerid() {
		return partnerid;
	}

	public void setPartnerid(String partnerid) {
		this.partnerid = partnerid;
	}

	@Column(name = "partner_key")
	public String getPartnerkey() {
		return partnerkey;
	}

	public void setPartnerkey(String partnerkey) {
		this.partnerkey = partnerkey;
	}

	@Column(name = "alipay_email")
	public String getAlipayemail() {
		return alipayemail;
	}

	public void setAlipayemail(String alipayemail) {
		this.alipayemail = alipayemail;
	}
	
}
